@model WalkingTec.Mvvm.Doc.ViewModels.StudentVms.StudentVm

<wt:fieldset field-set-style="Simple" title="Hidden">
 </wt:fieldset>
   <p>Hidden common attributes are:</p>
    <table lay-filter="parse-table-demo">
        <thead>
            <tr>
                <th lay-data="{field:'username', width:200}">Property</th>
                <th lay-data="{field:'joinTime', width:600}">Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Id</td>
                <td>Control ID, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>Field</td>
                <td>Binding field, Required</td>
            </tr>
            <tr>
                <td>Disabled</td>
                <td>Disabled, or not</td>
            </tr>
            <tr>
                <td>Name</td>
                <td>Control name, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>DefaultValue</td>
                <td>Default value, ignore bound field value if there exsit Default value</td>
            </tr>
        </tbody>
    </table>


<wt:fieldset field-set-style="Simple" title="Display">
 </wt:fieldset>
   <p>Display is used to display text. Common attributes are:</p>
    <table lay-filter="parse-table-demo">
        <thead>
            <tr>
                <th lay-data="{field:'username', width:200}">Property</th>
                <th lay-data="{field:'joinTime', width:600}">Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Id</td>
                <td>Control ID, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>Field</td>
                <td>Binding field, Required</td>
            </tr>
            <tr>
                <td>Disabled</td>
                <td>Disabled, or not</td>
            </tr>
            <tr>
                <td>Name</td>
                <td>Control name, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>LabelText</td>
                <td>Label content</td>
            </tr>
            <tr>
                <td>LabelWidth</td>
                <td>Label length, default= 80</td>
            </tr>
            <tr>
                <td>HideLabel</td>
                <td>Hide label,or not</td>
            </tr>
            <tr>
                <td>DisplayText</td>
                <td>Manually set the text to display</td>
            </tr>
        </tbody>
    </table>

<wt:fieldset field-set-style="Simple" title="TextArea">
 </wt:fieldset>
   <p>TextArea and TextBox are basically the same. Common attributes are:</p>
    <table lay-filter="parse-table-demo">
        <thead>
            <tr>
                <th lay-data="{field:'username', width:200}">Property</th>
                <th lay-data="{field:'joinTime', width:600}">Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Id</td>
                <td>Control ID, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>Field</td>
                <td>Binding field, Required</td>
            </tr>
            <tr>
                <td>Disabled</td>
                <td>Disabled, or not</td>
            </tr>
            <tr>
                <td>Name</td>
                <td>Control name, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>LabelText</td>
                <td>Label content</td>
            </tr>
            <tr>
                <td>LabelWidth</td>
                <td>Label length, default= 80</td>
            </tr>
            <tr>
                <td>HideLabel</td>
                <td>Hide label,or not</td>
            </tr>
            <tr>
                <td>EmptyText</td>
                <td>Manually set the text to display</td>
            </tr>
        </tbody>
    </table>

<wt:fieldset field-set-style="Simple" title="Switch">
 </wt:fieldset>
   <p>Switch is a deformation of checkbox, which is suitable for handling Boolean values. Common attributes are:</p>
    <table lay-filter="parse-table-demo">
        <thead>
            <tr>
                <th lay-data="{field:'username', width:200}">Property</th>
                <th lay-data="{field:'joinTime', width:600}">Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Id</td>
                <td>Control ID, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>Field</td>
                <td>Binding field,Required</td>
            </tr>
            <tr>
                <td>Disabled</td>
                <td>Disabled, or not</td>
            </tr>
            <tr>
                <td>Name</td>
                <td>Control name, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>LabelText</td>
                <td>Label content</td>
            </tr>
            <tr>
                <td>LabelWidth</td>
                <td>Label length, default= 80</td>
            </tr>
            <tr>
                <td>HideLabel</td>
                <td>Hide label,or not</td>
            </tr>
            <tr>
                <td>LayText</td>
                <td>The text of two states, switch can be customized</td>
            </tr>
            <tr>
                <td>Checked</td>
                <td>Open/not open</td>
            </tr>
            <tr>
                <td>Value</td>
                <td>Value passed when open</td>
            </tr>
        </tbody>
    </table>

<wt:fieldset field-set-style="Simple" title="FieldSet">
 </wt:fieldset>
   <p>FieldSet divide some controls into a group and frame them with thin lines. Common properties include:</p>
    <table lay-filter="parse-table-demo">
        <thead>
            <tr>
                <th lay-data="{field:'username', width:200}">Property</th>
                <th lay-data="{field:'joinTime', width:600}">Description</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>Id</td>
                <td>Control ID, generated by default according to the bound field name</td>
            </tr>
            <tr>
                <td>Title</td>
                <td>Group heading</td>
            </tr>
            <tr>
                <td>FieldSetStyle</td>
                <td>Style, ‘default’/’simple’</td>
            </tr>
        </tbody>
    </table>

<script>
layui.use('code',function(){layui.code({ about: false })})
        layui.table.init('parse-table-demo', {
        limit: 100, page: false
        });
</script>
<script>
  $("#@Model.ViewDivId").parent().css("height", "auto");
</script>
